package org.example.myleet.p714;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(8 == solution.maxProfit(new int[]{1,3,2,8,4,9}, 2));
    }
}
